Skip to content

feat: document friend page, blocking, offline saves and other recent app changes in the guide - #15

Merged
musa-kal merged 7 commits into
mainfrom
docs/dogfood-fixes
Nov 15, 2026
Merged

musa-kal merged 7 commits into
mainfrom
docs/dogfood-fixes

Conversation

@musa-kal

Copy link
Copy Markdown
Member

Intent

Guide updates for four bundles of fixes now live in the app (potluck PRs #35, #36, #37, #39, #40 and #41): friend page rows and export, settle up after paying part, one-on-one tabs named after the friend, other-currency totals on Home, percent splits keeping typed values, number search, the error page, offline banner and failed-save note, category chips with arrow keys, sign out everywhere, archived groups, Splitwise re-import duplicates, compact groups on phones, notification shares and refunds, the sign-up privacy link, the currency list, and blocking (no new shared expenses across a block anywhere, settling up still works and is never silent). Every claim must match potluck origin/main. Help anchors in apps/web/src/features/help/topics.ts must still resolve.

What Changed

  • Friends and blocking (friends.mdx, account.mdx, notifications.mdx, privacy-and-security.mdx, expenses/recurring.mdx): the guide now covers what each row on a friend's page shows and the new Export as a spreadsheet item there. It also explains that a block keeps both people off any new shared expense, in groups and in one-on-one tabs, and lists what happens to edits, restores, imports and repeating expenses. Settling up still works across a block, and payments still send notifications. The old "An existing one-on-one tab" section is replaced.
  • Expenses, balances and groups (expenses/*, balances/settle-up.mdx, groups/*, getting-started.mdx, faq.mdx): updated for the partial-payment confirmation, other-currency totals on Home, percent splits that keep typed values, number search, arrow keys on category chips, person order on the form, the trimmed currency list and one-on-one tabs named after the friend. Also covered: archived groups as read only (the section is renamed "Notes in an archived group" so the archived-groups anchor still resolves), compact group rows on phones, invite Revoke placement, Splitwise re-imports that skip duplicates by default, the bell and badge, the Home greeting and count wording, and the privacy link on the sign-up page.
  • Troubleshooting and errors (troubleshooting.mdx, notifications.mdx, account.mdx): adds an "Offline and errors" section for the offline banner, the "could not confirm this save" retry that never saves twice, and the error page. Also adds the blocked-participant save message, refund and new-expense notification wording, and the sign-out-everywhere timing on other devices.

🤖 Generated with Claude Code

Risk Assessment

✅ Low: This is a docs-only change. The round 3 fixes are accurate: account.mdx:208 now scopes payment notices to "payments with you", and getting-started.mdx:28 matches the sign-up label "What Potluck keeps about you, and who sees it:" followed by the "Privacy and security" link. Every help anchor in topics.ts resolves to exactly one heading, and no added line uses an em or en dash.

Testing

  • ⏭️ Test - skipped

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

🔧 **Review** - 11 issues found → auto-fixed (3) ✅
  • 🚨 src/content/docs/troubleshooting.mdx:55 - The 'Percentages need to add up to 100%' bullet tells readers to 'drag the bar'. A drag only moves share between two neighbours, so the total never changes (potluck main split-state.ts:333-346 moveBoundary; percent-slider.tsx:23-29). This also contradicts splits.mdx:35 in the same change. Remove 'drag the bar'.
  • 🚨 src/content/docs/getting-started.mdx:106 - 'with 2 friends when only one-on-one tabs have balances' is wrong. summary.ts:67-68 counts every group and tab, with or without a balance. balance-hero.tsx:30-34 shows 'with N friends' only when groupCount is 0, that is, when you are in no regular group at all. A settled regular group plus a tab gives 'across your groups and friends'. Reword to say it depends on what you are in, not on which balances are open.
  • ⚠️ src/content/docs/friends.mdx:196 - 'Whoever blocked still gets a notification for every payment the other person records, changes, deletes or restores, in a group' overclaims. Payment notifications go only to the payment's payer and payee (current.sql:5193 settlements_notify notifies array[new.from_user,new.to_user]; same for settlements_notify_change). The block only stops muting settlement.* notifications (20261114181147_block_payments_never_silent.sql:79-86). If the blocked person, for example as an admin, records a payment between two other people, the blocker hears nothing. Say 'every payment with you'; friends.mdx:172 and notifications.mdx:58 already say 'a payment with you'.
  • ⚠️ src/content/docs/notifications.mdx:13 - 'Past nine, every badge and bell shows 9+' is wrong. The bell and the nav/rail badges cap at 9+ (packages/ui nav.tsx:40-45, inbox-bell.tsx:31), but the Open inbox badge on Me shows the exact count, like '12 unread' (me-page.tsx:258), and so does the inbox header. Limit the claim to the bell and the Me / Notifications badges.
  • ⚠️ src/content/docs/troubleshooting.mdx:137 - 'After a payment, the settled screen shows what is truly still owed', and the partial-payment description at settle-up.mdx:28, are wrong for a payment in a currency other than the group's. That screen always says 'Payment recorded' with 'You paid {name} {amount}', shows no amount still owed, and never shows All square (settle-flow.tsx:643-646, 670-684). Limit both to payments in the group's currency. Sibling site: balances/settle-up.mdx:28.
  • ⚠️ src/content/docs/friends.mdx:125 - 'Notifications call it your tab with them, like New expense in your tab with Jules' is only true in the inbox (describe.ts:53-71). Push titles never name a group (supabase/functions/notify/message.ts:113). Emails leave out 'in ...' for tabs because group_name is null (email.ts:120-121). The same overclaim is at notifications.mdx:62. Also notifications.mdx:54 says 'Refund in' a group, but the push title is 'New refund' (copy.ts:73). Scope these to the inbox.
  • ⚠️ src/content/docs/friends.mdx:188 - The new text says the blocked person in a one-on-one tab 'cannot edit, delete or restore ... repeating expenses'. It drops the old line 'Either of you can always turn it off'. The freeze trigger still lets the blocked person turn a repeating expense off (20261114181147_block_payments_never_silent.sql:42-45), and recurring.mdx:174 says turning it off always works. Add that the blocked person can still turn repeating expenses off there.
  • ℹ️ src/content/docs/friends.mdx:67 - The ... menu shows 'Remove friend' only while you are friends (friend-page.tsx:559). The other items read 'Report {name}' and 'Block {name}'.
  • ℹ️ src/content/docs/friends.mdx:79 - A squaring payment that has a note shows the note, not 'settled up' (expense-row.tsx:208).
  • ℹ️ src/content/docs/balances/settle-up.mdx:28 - The doc gives only 'You still owe {amount}'. When someone paid you, the line reads '{name} still owes you {amount}', and between two other people '{from} still owes {to} {amount}' (settle-flow.tsx:685-689).
  • ℹ️ src/content/docs/expenses/index.mdx:40 - When editing an expense, the button reads 'Save changes', not 'Save expense' (expense-form.tsx:686-690). Same at troubleshooting.mdx:56.

🔧 Fix applied.
1 warning still open:

  • ⚠️ src/content/docs/expenses/editing.mdx:94 - This branch adds two links to /groups/#archived-groups: expenses/editing.mdx:94 and groups/settings.mdx:207. In groups/index.mdx, the first heading with that slug is the pre-existing '### Archived groups' under Group notes (line 113), which only covers read-only notes. Starlight slugs headings with github-slugger, so that subsection takes 'archived-groups' and the '## Archived groups' section at line 238 becomes 'archived-groups-1'. That later section is the one where this branch added the read-only list (no new expenses, no new plans). The link validator passes, but readers land on the notes subsection. The self-link at groups/index.mdx:115 has the same problem: it points back at its own subsection. Fix: give the notes subsection its own heading, e.g. '### Notes in an archived group'. Then /groups/#archived-groups resolves to the main section, and line 115 starts linking correctly. No help topic in topics.ts uses either anchor. This is not a fix-round regression: it comes from the original commits.

🔧 Fix applied.
2 issues (1 warning, 1 info) still open:

  • ⚠️ src/content/docs/account.mdx:208 - Round 1 (block-payment-notify-scope) fixed friends.mdx and notifications.mdx but missed this sibling. 'while they are blocked ... only their payments notify you' still overclaims. Payment notifications go only to the payment's payer and payee (settlements_notify / settlements_notify_change notify array[from_user,to_user]). If the blocked person, for example as an admin, records a payment between two other people, the blocker is not notified. Reword to 'only their payments with you notify you', which matches friends.mdx:169 and notifications.mdx:58. The other sibling is friends.mdx:214 '(payments aside)'. It is vague but not wrong, so it can stay.
  • ℹ️ src/content/docs/getting-started.mdx:28 - The doc says 'What Potluck keeps about you, and who sees it links to Privacy and security', which suggests the bolded words are the link. On sign-up-page.tsx:97-104 they are plain label text ('What Potluck keeps about you, and who sees it:'), followed by a separate link that reads 'Privacy and security'. Suggested wording: 'Under the sign up form, What Potluck keeps about you, and who sees it: is followed by a Privacy and security link.'

🔧 Fix applied.
✅ Re-checked - no issues remain.

⏭️ **Test** - skipped

Step was skipped.

⚠️ **Document** - 1 info
  • ℹ️ src/content/docs/friends.mdx:190 - This branch removed the heading '#### An existing one-on-one tab' (anchor /friends/#an-existing-one-on-one-tab) and replaced it with 'Settling up across a block'. The link validator passes for this repo. apps/web/src/features/help/topics.ts is in the app repo, which is not in this worktree, so I could not confirm that no help topic uses the old anchor.
✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

musa-kal and others added 7 commits November 14, 2026 13:49
…roups

Friend pages now show only what each expense leaves between you two, with
"nothing between you" when nothing passes, and the guide explains how that
lines up with simplify debts. The friend menu's spreadsheet export, the
greyed out Add expense across a block, and the settle up screen after a
partial payment are written up too.

Percent splits keep what you type and count what is left or over. The
troubleshooting page gains an offline and errors section: the banner, save
waiting while offline, the could not confirm note, and the new error page.

Also covered: other-device sign out after Sign out everywhere, archived
groups offering nothing new, imports leaving rows already in the group out
by default, compact group rows and clamped names on phones, notifications
saying what you owe or get back, refund titles, the inbox bell on Me, the
privacy link on sign up, and currency menus listing only currencies in use.

Co-authored-by: Ferrin <[email protected]>
Co-authored-by: noorelmosrati <[email protected]>
Once either person blocks the other, no new expense can include both of
them, in a group or in an existing one-on-one tab. The friends page now
covers what that means for edits, restores, imports and repeating
expenses, and that settling up keeps working for both people from each
Balances tab. Repeating expenses get a short section on skipped dates,
and troubleshooting, privacy, notifications and the blocked people
section on Me follow along.

Co-authored-by: Ferrin <[email protected]>
Co-authored-by: noorelmosrati <[email protected]>
In a one-on-one tab across a block, the blocked person can record new
payments but only change the ones they recorded. Whoever blocked still
hears about every payment, while everything else stays muted. The friends,
notifications, settle up and Me pages now say so, and the tab's Balances
screen gives the block reason when it is settled up.

Co-authored-by: Ferrin <[email protected]>
Co-authored-by: noorelmosrati <[email protected]>
…counts

A save whose reply was lost now holds the form as sent, and Try again on
the save button hands back the first copy instead of a second one. The
expense form names a person you blocked before you save, while everyone
else gets a message that names nobody. Payments a blocked person cannot
change lose Edit and Delete and say who can.

Also covered: payment rows that say payment unless the two are square,
friend exports that match the friend page under simplified debts, tab
names in backups, the sign in note after Sign out everywhere, Home's
group and friend counts and greeting, the 9+ badge cap, Revoke moved away
from Copy on the invite sheet, the expense page order, and one activity
line for a new group.

Co-authored-by: Ferrin <[email protected]>
Co-authored-by: noorelmosrati <[email protected]>
@musa-kal
musa-kal merged commit 6ba59fc into main Nov 15, 2026
2 checks passed
@musa-kal
musa-kal deleted the docs/dogfood-fixes branch November 15, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant